package com.qf.mapper;

import com.qf.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
    List<Role> queryAllRoles(@Param("start") Integer start, @Param("limit") Integer limit);

    List<Role> queryRole(Integer roleId);

    Role queryRoleCount();

    int updateRole(Role role);

    int insertRole(Role role);
}